﻿namespace Traffic.Entity;

/// <summary>
/// 用户联系人表
/// </summary>
public partial class UserDataContact
{
    public int Id { get; set; }

    /// <summary>
    /// UserData.ID
    /// </summary>
    public int UserId { get; set; }

    /// <summary>
    /// 真实姓名
    /// </summary>
    public string RealName { get; set; } = null!;

    /// <summary>
    /// 性别
    /// </summary>
    public string? Sex { get; set; }

    /// <summary>
    /// 生日
    /// </summary>
    public DateTime? Birthday { get; set; }

    /// <summary>
    /// 1：成人  2：儿童   3：婴儿
    /// </summary>
    public int AgeType { get; set; }

    /// <summary>
    /// 身份证
    /// </summary>
    public string? CardNo { get; set; }

    /// <summary>
    /// 电话
    /// </summary>
    public string? Mobile { get; set; }

    /// <summary>
    /// 证件类型   身份证、学生证、残疾军人证，护照
    /// </summary>
    public string? PapersType { get; set; }

    /// <summary>
    /// 身份证头像图
    /// </summary>
    public string? HeadPic { get; set; }

    /// <summary>
    /// 上次使用票类
    /// </summary>
    public string? LastUseTicketType { get; set; }

    /// <summary>
    /// 身份证图片连接
    /// </summary>
    public string? IdcardUrl { get; set; }

    /// <summary>
    /// 特殊证件图片连接
    /// </summary>
    public string? SpCardUrl { get; set; }

    /// <summary>
    /// 是否已审核  默认0未审   1已审
    /// </summary>
    public bool IsChecked { get; set; }

    /// <summary>
    /// 是否特殊优惠用户
    /// </summary>
    public bool IsSpGuest { get; set; }

    public DateTime CreateDate { get; set; }

    /// <summary>
    /// 状态  默认1：正常   0：停用
    /// </summary>
    public bool Status { get; set; }
}
